describe('/pages/index/index-scss', () => {
  let page
  it('screen shot', async () => {
    page = await program.reLaunch('/pages/index/index-scss');
    await page.waitFor('view');
    const img = await program.screenshot({
      fullPage: true
    });
    expect(img).toSaveImageSnapshot()
  })
  
  // nvue 截图时报错截图为白屏
  // it('nvue page screen shot', async () => {
  //   const isAppPlus = process.env.UNI_PLATFORM.startsWith('app');
  //   const notUniAppX = !process.env.UNI_UTS_PLATFORM;
  //   if (isAppPlus && notUniAppX) {
  //     page = await program.reLaunch('/pages/index/index-nvue-scss');
  //     await page.waitFor(1000);
  //     const img = await program.screenshot({
  //       fullPage: true
  //     });
  //     expect(img).toSaveImageSnapshot()
  //   }
  // })
});